import request from "../../utils/request"

export function initExpense(page) {
  return request({
    url: '/expense/get/' + page,
    method: 'get'
  })
}

export function editExpense(expense) {
  return request({
    url: '/expense/update',
    method: 'post',
    data: expense
  })
}
